<?php
/**
 * Created by PhpStorm.
 * User: yangyou
 * Date: 2019/1/14 0014
 * Time: 09:25
 */

namespace app\index\model;


class FriendshipLink extends Base
{
    /**
     * Author:yang you
     * Time:2018-01-14 10:27:51
     * Describe:友情链接列表
     * @return int|string
     */
    public function friendshipLinkList($substation_id = "1"){
        return $this
            ->where("substation_id",$substation_id)
            ->where("delete",0)
            ->where("is_display",1)
            ->orderRaw("sort desc")
            ->select();
    }


}